package com.yvdedu.hospital.entity;

public class Drug_type {
	private int id;
	private String yao_name;
	private String name;
	private String spec;
	private String unit;
	private String sc_date;
	private String yx_date;
	private String region;
	private double p_price;
	private double price;
	private int tory;
	private String ad_name;
	private String sh_name;
	private String sh_date;
	private int Stock;
	public int getId() {
		return id;
	}
	public String getYao_name() {
		return yao_name;
	}
	public String getName() {
		return name;
	}
	public String getSpec() {
		return spec;
	}
	public String getUnit() {
		return unit;
	}
	public String getSc_date() {
		return sc_date;
	}
	public String getYx_date() {
		return yx_date;
	}
	public String getRegion() {
		return region;
	}
	public double getP_price() {
		return p_price;
	}
	public double getPrice() {
		return price;
	}
	public int getTory() {
		return tory;
	}
	public String getAd_name() {
		return ad_name;
	}
	public String getSh_name() {
		return sh_name;
	}
	public String getSh_date() {
		return sh_date;
	}
	public int getStock() {
		return Stock;
	}
	public void setId(int id) {
		this.id = id;
	}
	public void setYao_name(String yao_name) {
		this.yao_name = yao_name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public void setSpec(String spec) {
		this.spec = spec;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public void setSc_date(String sc_date) {
		this.sc_date = sc_date;
	}
	public void setYx_date(String yx_date) {
		this.yx_date = yx_date;
	}
	public void setRegion(String region) {
		this.region = region;
	}
	public void setP_price(double p_price) {
		this.p_price = p_price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public void setTory(int tory) {
		this.tory = tory;
	}
	public void setAd_name(String ad_name) {
		this.ad_name = ad_name;
	}
	public void setSh_name(String sh_name) {
		this.sh_name = sh_name;
	}
	public void setSh_date(String sh_date) {
		this.sh_date = sh_date;
	}
	public void setStock(int stock) {
		Stock = stock;
	}
	public Drug_type(int id, String yao_name, String name, String spec, String unit, String sc_date, String yx_date,
			String region, double p_price, double price, int tory, String ad_name, String sh_name, String sh_date,
			int stock) {
		super();
		this.id = id;
		this.yao_name = yao_name;
		this.name = name;
		this.spec = spec;
		this.unit = unit;
		this.sc_date = sc_date;
		this.yx_date = yx_date;
		this.region = region;
		this.p_price = p_price;
		this.price = price;
		this.tory = tory;
		this.ad_name = ad_name;
		this.sh_name = sh_name;
		this.sh_date = sh_date;
		Stock = stock;
	}
	public Drug_type() {
		super();
	}
	@Override
	public String toString() {
		return "Drug_type [id=" + id + ", yao_name=" + yao_name + ", name=" + name + ", spec=" + spec + ", unit=" + unit
				+ ", sc_date=" + sc_date + ", yx_date=" + yx_date + ", region=" + region + ", p_price=" + p_price
				+ ", price=" + price + ", tory=" + tory + ", ad_name=" + ad_name + ", sh_name=" + sh_name + ", sh_date="
				+ sh_date + ", Stock=" + Stock + "]";
	}
	
	
}
